package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//用户pojo
@Data
//这2个注解里面有pojo的各种构造函数方法，可以通过new触发直接给pojo赋值
//如:new User(id,"用户名"+id,"密码"+id);
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;

}
